extends Card

func init():
    att.atk = 2
    att.maxHp = 1
    att.cry = 1
    lv = 1
    type = TYPE.CREATURE
    camp = "m_hearthstone"
    name = "麻风侏儒"
    tab = ""
    dec = "亡语：对敌方英雄造成2点伤害。"

func _connect():
    var skill:Skill = addSkillObj(Kl.new())
    
class Kl:
    extends "res://ex/skill/k_wangYu/k_wangYu.gd"
    func _init():
        ._init()
        copyInfo("k_wangYu")
    
    func _trigger():
        print(card.id,card.name)
        card.hurtCard(card.getHero().getOppHero(),2,false)